package design.Test5decorator;

/**
 * 这个water是ConcreteComponent (具体组件类，装饰都是装饰此类。)
 */
public class Water extends Component {
    @Override
    public String cost() {
        return "water--->1元;";
    }
}
